<!DOCTYPE html>
<html>
    <head>
        <script src="js/vue.js"></script>
    </head>
    <body>
        <div id="app">
            <p>{{base}}</p>
            <p>{{noBase}}</p>
        </div>
        <script>
            var vm = new Vue({
                el:'#app',
                data : {
                    base:'我是基础数据'
                },
                customOption : '我是自定义的数据',
                created(){
                    this.noBase = this.$options.customOption;
                }
            });
        </script>
    </body>
</html>